<div class="userinfo">
    <div class="icon"><img src="../public/all/images/phone/avatar.png" height="60px"/></div>
    <div class="userdetail">
        欢迎您！<span class="name">--</span> <br/>
        <span class="line2">
            账户余额：<span class="red"> 0.00 </span>RMB
        </span>
    </div>
    <div class="clear"></div>
</div>

<ul class="am-avg-sm-3 index_menus">
    <li><a href="center.html?cmd=profile&sid=__sid__">
        <img src="../public/all/images/phone/menu-profile.png" height="41px"/>
        <div>个人资料</div>
    </a></li>

    <li><a href="center.html?cmd=password&sid=__sid__">
        <img src="../public/all/images/phone/menu-modifypwd.png" height="41px"/>
        <div>登录密码</div>
    </a></li>

    <li><a href="center.html?cmd=message&sid=__sid__">
        <img src="../public/all/images/phone/menu-message.png" height="41px"/>
        <div>信息中心</div>
    </a></li>

    <li><a href="center.html?cmd=charge&sid=__sid__">
        <img src="../public/all/images/phone/menu-funds.png" height="41px"/>
        <div>资金管理</div>
    </a></li>

    <li><a href="center.html?cmd=take_password&sid=__sid__">
        <img src="../public/all/images/phone/menu-transfer.png" height="41px"/>
        <div>取款密码</div>
    </a></li>

    <li><a href="center.html?cmd=bank&sid=__sid__">
        <img src="../public/all/images/phone/menu-bankaccount.png" height="41px"/>
        <div>银行账号</div>
    </a></li>

    <li><a href="center.html?cmd=today&sid=__sid__">
        <img src="../public/all/images/phone/menu-record.png" height="41px"/>
        <div>今日已结</div>
    </a></li>

    <li><a href="center.html?cmd=bet&sid=__sid__">
        <img src="../public/all/images/phone/menu-record.png" height="41px"/>
        <div>下注记录</div>
    </a></li>

    <li><a href="javascript:void(0)" onclick="_MEIQIA('showPanel')">
        <img src="../public/all/images/phone/menu-service.png" height="41px"/>
        <div>客服</div>
    </a></li>
</ul>

<style type="text/css">
    .userinfo {
        height: 80px;
        border-top: 1px solid #b8b8b8;
        border-bottom: 1px solid #b8b8b8;
        background-color: #eeeeee;
        color: #000;
        font-weight: bold;
    }
    .userinfo .icon {
        float: left;
        width: 90px;
        text-align: right;
        padding-top: 10px;
    }
    .userinfo .userdetail {
        float: left;
        margin-left: 10px;
        margin-top: 15px;
    }
    .userinfo .userdetail .line2 {
        font-size: 14px;
        color: #838383;
    }

    .index_menus li {
        text-align: center;
        border-right: 1px solid #b8b8b8;
        border-bottom: 1px solid #b8b8b8;
        padding: 20px 0px 20px 0px;
    }
    .index_menus li a {
        color: #000000;
        font-weight: bold;
    }
</style>

<script src="../public/all/js/meiqia.js"></script>
<script>
    $(".am-header-right").show();
    $(".back2game").hide();
    $(".home").show();
    $(".home").click(function() {
        Util.jumpUrl({
            file: 'index.html',
        });
    });
    var arr = $("a");
    for (var i = 0; i < arr.length; i++) {
        var c = $(arr[i]).attr("href");
        c = c.replace(/__sid__/g, Util.sid || '');
        $(arr[i]).attr("href", c);
    }

    ME.cb = function() {
        fillUserInfo();
    }
    function fillUserInfo() {
        if (context.user) {
            $(".userinfo .name").html(context.user.user.mobile || '游客');
            $(".userinfo .line2 .red").html(" " + (context.user.balance / 100).toFixed(2) + " ");
        }
    }
    fillUserInfo();
</script>